#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import socket
import rospy

if __name__ == '__main__':
    udp = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    udp.bind(('192.168.224.2', 6001))
    while 1:
        data, addr = udp.recvfrom(1024)  
        print(data.decode('utf-8'))

udp.close()
